$(function () {
    getComment();
})

/**
 * 获得对自己文章的评论
 */
function getComment(){
    var hid = $("#hId").val();
    var getComment = $.ajax({
        url:"getCommentByUserId",
        type:"get",
        data:{"userId":hid,"page":1}
    });
    getComment.done(function (result) {
        var replyList = result.extend.replyList;
        var cloneCmt = cloneComment(replyList);
        $(".widget_hot ul").append(cloneCmt);
    })
}


